<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>

<div class="pageContent">
    <form action="${ctx }/course/updateCourseChapter" method="post"
          onsubmit="return iframeCallback(this,dialogAjaxDone);" enctype="multipart/form-data">
          <input type="hidden" name="courseId" value = "${courseId }" />
          <input type="hidden" name="id" value = "${chapter.id }" />
        <div class="pageFormContent" layoutH="56">
            <p>
                <label>章节名称：</label>
                <input type="text" name="name" class="required" value="${chapter.name }" maxlength="100"/>
            </p>
            <div class="divider"></div>
            
            <p>
                <label>章节序号：</label>
                <input type="text" name="seq" class="required" value="${chapter.seq }" maxlength="100"/>
            </p>
            <div class="divider"></div>
            
            <p>
                <label>章节编号：</label>
                <input type="text" name="busiName" class="required" value="${chapter.busiName }" maxlength="100"/>
            </p>
            <div class="divider"></div>
            
            <p>
                <label>章节课件：</label>
                <input type="file" name="fileContent" maxlength="100"/>
            </p>

            <p>
                <label>章节描述：</label>
                <textarea rows="10" name="describe" class="required" cols="50">${chapter.descri }</textarea>
            </p>
            <div class="divider"></div>
            
            
        </div>
        <div class="formBar">
            <ul>
                <li>
                    <div class="buttonActive">
                        <div class="buttonContent">
                            <button type="submit">保存</button>
                        </div>
                    </div>
                </li>
                <li>
                    <div class="button">
                        <div class="buttonContent">
                            <button type="button" class="close">取消</button>
                        </div>
                    </div>
                </li>
            </ul>
        </div>
    </form>
</div>

